import { getRequest } from '@/utils/request'

export const dashboardApi = {
  // 数据统计
  dataStat: () => {
    return getRequest('/v1/admin/dashboard/stat/data')
  },
  // 注册登录统计
  loginStat: () => {
    return getRequest('/v1/admin/dashboard/stat/login?dates=-30')
  }
}
